<%@ page import="projetjee.Relationship" %>



<div class="fieldcontain ${hasErrors(bean: relationshipInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="relationship.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${relationshipInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: relationshipInstance, field: 'createur', 'error')} required">
	<label for="createur">
		<g:message code="relationship.createur.label" default="Createur" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="createur" name="createur.id" from="${projetjee.User.list()}" optionKey="id" required="" value="${relationshipInstance?.createur?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: relationshipInstance, field: 'members', 'error')} ">
	<label for="members">
		<g:message code="relationship.members.label" default="Members" />
		
	</label>
	
</div>

<div class="fieldcontain ${hasErrors(bean: relationshipInstance, field: 'subscribers', 'error')} ">
	<label for="subscribers">
		<g:message code="relationship.subscribers.label" default="Subscribers" />
		
	</label>
	
</div>

